# Copyright (c) 2010 The Chromium OS Authors. All rights reserved.
# Use of this source code is governed by a BSD-style license that can be
# found in the LICENSE file.

CXXFLAGS += -fPIC -Wall -Werror

TARGETS = gpio_setup reboot_mode

%: %.cc
	$(CXX) $(CXXFLAGS) -o $@ $^

all: $(TARGETS)

clean:
	@rm -f $(TARGETS)
